package com.qiyuexinxi.chat.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @author yangxingyu
 * @date 2020/2/27
 * @description
 */
@ApiModel("获取用户列表")
@Data
public class GetUserCityListRequest extends GetUserListRequest{


    @ApiModelProperty("城市")
    @NotNull(message = "城市不能为空")
    @Pattern(regexp = "[2-397]", message = "城市格式错误")
    private String city;


}
